package com.yxw.yx_hotel.dto;

import com.yxw.yxnet_cd_center.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuxin
 * @date 2023.0913
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper=true)
@ApiModel(value="QueryRoomDto", description="宿舍查询Dyto")
public class QueryRoomDto extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "区域名称")
    private String regionName;

    @ApiModelProperty(value = "宿舍名称")
    private String roomName;


    @ApiModelProperty(value="创建时间始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createStartTime;

    @ApiModelProperty(value="=创建时间止")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createEndTime;

}
